<?php
declare (strict_types = 1);

namespace app\admin\controller;

use think\facade\View;
use mailer\tp6\Mailer;
class Index
{
    public function index()
    {
        return View::fetch();
    }

     public function file(){
         $mailer = Mailer::instance();
         $mailer->from('2013621541@qq.com')
             ->to('741239766@qq.com')
             ->subject('江哥你说肖战帅不帅????')
             ->text('帅帅帅!!!!!!!')
             ->send();
          return View::fetch();
      }

}
